namespace KPIS.GERP.Models.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class update0133 : DbMigration
    {
        public override void Up()
        {
            AddColumn("dbo.hrm_ps_absence_rules", "gender_seq", c => c.Int());
            AddForeignKey("dbo.hrm_ps_absence_rules", "gender_seq", "dbo.mas_genders", "gender_seq");
            CreateIndex("dbo.hrm_ps_absence_rules", "gender_seq");
        }
        
        public override void Down()
        {
            DropIndex("dbo.hrm_ps_absence_rules", new[] { "gender_seq" });
            DropForeignKey("dbo.hrm_ps_absence_rules", "gender_seq", "dbo.mas_genders");
            DropColumn("dbo.hrm_ps_absence_rules", "gender_seq");
        }
    }
}
